package Entity;

/*
课程+教师名字 学生分数 实体类
 */
public class CoursePlus extends Course{

    private float score;
    private String teacherName;


    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    @Override
    public String toString() {
        return "CoursePlus{" +
                "score=" + score +
                ", teacherName='" + teacherName + '\'' +
                '}';
    }
}
